package witchxml;

import java.io.IOException;
import java.util.Scanner;

import org.jdom.JDOMException;

/**
 * @version 0.1.1
 * @author Krzysztof 'Bonsai' Justyński
 */
public class Main {

	/**
	 * @param
	 */
	public static void main(String[] args) throws JDOMException, IOException {

		Scanner scan = new Scanner(System.in);
		String dir;
		int lang;

		System.out.print("Directory with XML files extracted from DLG: ");
		dir = scan.nextLine();
		//dir = "E:/Apps/WitchXML/XML";
		System.out
				.print("Choose language of extracted dialogues. Type 0 for Polish, 1 for FinalEnglish_Short. ");
		lang = scan.nextInt();
		voiceover xmls = new voiceover();
		xmls.parse(dir, lang);
		System.out.println();
	}
}
